package com.service.impl;

import com.entity.DinerCategory;
import com.mapper.DinerCategoryMapper;
import com.service.DinerCategoryService;
import com.service.DinerOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class DinerCategoryServiceImpl implements DinerCategoryService {
    @Autowired
    DinerCategoryMapper dinerCategoryMapper;
    @Override
    public List<DinerCategory> getDinerCategoryInfo() {
        return dinerCategoryMapper.getDinerCategoryInfo();
    }
}
